﻿define(["service/service", "service/httpService"], function (service) {
    service.factory("billService", function (httpService) {
        var methods = {
            "get": function (params) {
                return httpService.get("/bill/get", params);
            },
            "gets": function (params) {
                return httpService.get("/bill/getbills", params);
            },
            recharge: function (params) {
                return httpService.post("/bill/recharge/", params);
            }
        }
        return methods;
    });
});